projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
856321e
)
default to user-supplied buffer.
author
David J. MacKenzie
<djm@gnu.org>
Mon, 21 Aug 1995 04:33:21 +0000
(
04:33
+0000)
committer
David J. MacKenzie
<djm@gnu.org>
Mon, 21 Aug 1995 04:33:21 +0000
(
04:33
+0000)
src/termcap.c
patch
|
blob
|
history
diff --git
a/src/termcap.c
b/src/termcap.c
index d26348e525c3282537a01c2571146980a2973a06..2a270c454eb66da96633feac6083a0c5f87bde1e 100644
(file)
--- a/
src/termcap.c
+++ b/
src/termcap.c
@@
-443,6
+443,11
@@
tgetent (bp, name)
}
#endif /* INTERNAL_TERMINAL */
+ /* For compatibility with programs like `less' that want to
+ put data in the termcap buffer themselves as a fallback. */
+ if (bp)
+ term_entry = bp;
+
termcap_name = getenv ("TERMCAP");
if (termcap_name && *termcap_name == '\0')
termcap_name = NULL;